import requests
r = requests.get("https://www.baidu.com/img/PCtm_d9c8750bed0b3c7d089fa7d55720d6cf.png")
with open('D:/baidu.png','wb') as f:
    f.write(r.content)
